<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<style>
		  .container {
		    box-sizing: border-box;
		  }
		
		  .box {
		    box-sizing: inherit;
		    width: 200px;
		    height: 200px;
		    padding: 20px;
		    border: 1px solid black;
		    background-color: red;
		  }
		</style>
		
		<div class="container">
		  <div class="box"></div>
		</div>
	</body>
</html>